package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.order.Order;
import com.zbkj.common.model.order.OrderDetail;
import com.zbkj.common.request.OrderElectronicInvoiceRequest;
import com.zbkj.common.response.OrderElectronicInvoiceResponse;
import com.zbkj.common.vo.MyRecord;

import java.util.List;

public interface OrderElectronicInvoiceService {

    OrderElectronicInvoiceResponse get(Integer id);

    PageInfo<OrderElectronicInvoiceResponse> getOrderNumberList(OrderElectronicInvoiceRequest orderElectronicInvoiceRequest);

    OrderElectronicInvoiceRequest set(OrderElectronicInvoiceRequest orderElectronicInvoiceRequest);


    OrderElectronicInvoiceResponse getOrderNumber(OrderElectronicInvoiceRequest orderElectronicInvoiceRequest);

    PageInfo<OrderElectronicInvoiceResponse> findByList(OrderElectronicInvoiceRequest orderElectronicInvoiceRequest);

    void saveOrderInvoiceSplitting(String orderNumber,List<Order> list);

    Page<OrderElectronicInvoiceResponse> getList(OrderElectronicInvoiceRequest orderElectronicInvoiceRequest);
}
